package com.ruoyi.make.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 报工单对象 bgd_work_order_form
 *
 * @author ruoyi
 * @date 2024-07-18
 */
public class BgdWorkOrderForm extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 报工单id */
    private Long bId;

    /** 报工编码 */
    @Excel(name = "报工编码")
    private String bgCode;

    /** 生产工单编码 */
    @Excel(name = "生产工单编码")
    private String gdCode;

    /** 工序编码 */
    @Excel(name = "工序编码")
    private String gxCode;

    /** 生产单元编码 */
    private String dyCode;

    /** 生产数量 */
    @Excel(name = "生产数量")
    private Long scNum;

    /** 合格数量 */
    @Excel(name = "合格数量")
    private Long okNum;

    /** 不合格数量 */
    @Excel(name = "不合格数量")
    private Long unNum;

    /** 员工编码 */
    @Excel(name = "员工编码")
    private String userCode;

    /** 创建人 */
    @Excel(name = "创建人")
    private String bgdCreate;

    public void setbId(Long bId)
    {
        this.bId = bId;
    }

    public Long getbId()
    {
        return bId;
    }
    public void setBgCode(String bgCode)
    {
        this.bgCode = bgCode;
    }

    public String getBgCode()
    {
        return bgCode;
    }
    public void setGdCode(String gdCode)
    {
        this.gdCode = gdCode;
    }

    public String getGdCode()
    {
        return gdCode;
    }
    public void setGxCode(String gxCode)
    {
        this.gxCode = gxCode;
    }

    public String getGxCode()
    {
        return gxCode;
    }
    public void setDyCode(String dyCode)
    {
        this.dyCode = dyCode;
    }

    public String getDyCode()
    {
        return dyCode;
    }
    public void setScNum(Long scNum)
    {
        this.scNum = scNum;
    }

    public Long getScNum()
    {
        return scNum;
    }
    public void setOkNum(Long okNum)
    {
        this.okNum = okNum;
    }

    public Long getOkNum()
    {
        return okNum;
    }
    public void setUnNum(Long unNum)
    {
        this.unNum = unNum;
    }

    public Long getUnNum()
    {
        return unNum;
    }
    public void setUserCode(String userCode)
    {
        this.userCode = userCode;
    }

    public String getUserCode()
    {
        return userCode;
    }
    public void setBgdCreate(String bgdCreate)
    {
        this.bgdCreate = bgdCreate;
    }

    public String getBgdCreate()
    {
        return bgdCreate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("bId", getbId())
                .append("bgCode", getBgCode())
                .append("gdCode", getGdCode())
                .append("gxCode", getGxCode())
                .append("dyCode", getDyCode())
                .append("scNum", getScNum())
                .append("okNum", getOkNum())
                .append("unNum", getUnNum())
                .append("userCode", getUserCode())
                .append("bgdCreate", getBgdCreate())
                .append("createTime", getCreateTime())
                .toString();
    }
}
